package com.zb.framework.wechatnews.entity.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @Auther: 周作为
 * @Date: 2019/6/18 23:50
 * @Description: 按钮
 */
@ApiModel(description= "按钮类")
public class BtnVo {

    //按钮key值，用户点击后，会产生任务卡片回调事件，回调事件会带上该key值，
    // 只能由数字、字母和“_-@.”组成，最长支持128字节
    @ApiModelProperty(value = "按钮key值",required = true)
    private String key;

    //按钮名称
    @ApiModelProperty(value = "按钮名称",required = true)
    private String name;

    //点击按钮后显示的名称，默认为“已处理”
    @ApiModelProperty(value = "点击按钮后显示的名称，默认为'已处理'")
    private String replace_name;

    //按钮字体颜色，可选“red”或者“blue”,默认为“blue”
    @ApiModelProperty(value = "按钮字体颜色，可选'red'或者“blue”,默认为'blue'")
    private String color;

    //按钮字体是否加粗，默认false
    @ApiModelProperty(value = "按钮字体是否加粗，默认false")
    private boolean is_bold;

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getReplace_name() {
        return replace_name;
    }

    public void setReplace_name(String replace_name) {
        this.replace_name = replace_name;
    }

    public String getColor() {
        return color;
    }

    public void setColor(String color) {
        this.color = color;
    }

    public boolean isIs_bold() {
        return is_bold;
    }

    public void setIs_bold(boolean is_bold) {
        this.is_bold = is_bold;
    }
}
